﻿@using xConnected.Common.ExpertProfile
<div class="modal hide fade" id="CreateProjectListDialog" style="display: none;" data-bind="with:bookmark">
    <div class="modal-header">
        <div class="thumbnail" style="margin-top: 10px; margin-bottom: 10px">
            <h4 style="margin-left: 5px; margin-bottom: 5px; margin-top: 5px">Create New List of Positions</h4>
        </div>
    </div>
    <div class="modal-body" data-bind="with: newPositionList">
        <div data-bind="visible: $root.bookmark.projectListNameExistsAlertVisible" class="alert alert-error">
            You already have list under that name. Please use different name.
        </div>
        <div class="row-fluid">
            <span class="span2">List name</span>
            <input type="text" class="span8" data-bind="value: Name"/>
        </div>
    </div>
    <div class="modal-footer">
        <a href="#" class="btn btn-small btn-info" data-bind="click: function() { $root.bookmark.saveProjectList();}"><strong>Save</strong></a>
        <a href="#" class="btn btn-small" data-bind="click: function() { $root.bookmark.cancelProjectList();}"><strong>@Resources.Cancel</strong></a>
    </div>
</div>